package org.gd.hellojaxb.privat24.dbpool.resin;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "driver")
@XmlAccessorType(XmlAccessType.FIELD)
public class Driver {

    @XmlAttribute(name = "type")
    private String type;
    @XmlElement(name = "url")
    private String url;
    @XmlElement(name = "user")
    private String user;
    @XmlElement(name = "password")
    private String password;

    public Driver() {
    }

    public String getType() {
        return type;
    }

    public Driver setType(String type) {
        this.type = type;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public Driver setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getUser() {
        return user;
    }

    public Driver setUser(String user) {
        this.user = user;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public Driver setPassword(String password) {
        this.password = password;
        return this;
    }
}
